/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.List;

/**
 *
 * @author Ira
 */
public class Magazine extends Document {
	
	private int nbPage;
	
	public Magazine(String title, short year, List<String> authors, String editor, int nbPage) {
		super("Magazine", year, title, authors, editor);
		this.nbPage = nbPage;
	}

	/**
	 * @return the nbPage
	 */
	public int getNbPage() {
		return nbPage;
	}

	/**
	 * @param nbPage the nbPage to set
	 */
	public void setNbPage(int nbPage) {
		this.nbPage = nbPage;
	}
}
